Skip to main content

Set Up Your Development Environment

Get started building with Euclid’s APIs in minutes. Whether you're integrating token swaps, fetching pricing and pool data, or exploring liquidity provisioning, this guide walks you through the minimal setup needed to begin.

1. Choose and Install a Tool

You can make requests to Euclid via:

  • GraphQL: Using any GraphQL client like Apollo Client, Postman, or curl.
  • REST API: Using tools like Postman, curl, or native fetch in your language of choice.

No CLI or SDK is required.

Depending on what you're using, here's how to install the basics:

# No install needed in browser
# For Node.js (18+ includes fetch), otherwise:
npm install node-fetch
npm install axios
npm install @apollo/client graphql cross-fetch
npm install @apollo/client graphql
pip install requests

2. Connect a Wallet

If you're interacting with authenticated routes or signing and broadcasting transactions, you'll need a wallet connection.

Euclid supports several wallet types across EVM and Cosmos:

Wallets are required to sign transactions and resolve cross-chain identity and balances.

3. (Optional) Get an API Key

note

If your API usage requires a key (for example higher rate limits or transaction tracking), contact us.

Include it as a header:

Authorization: Bearer YOUR_API_KEY

4. Select Your Environment

note

Best practice is to start on testnet first for development, simulation, and validation before moving to mainnet.

5. Explore Further

Once your environment is ready, explore key integrations: